The PrintingStatus Object provides properties for retrieving information and setting options for the printing status of a report (that is, number of pages, latest page to be printed, etc.). A PrintingStatus Object is obtained from the PrintingStatus property of the Report Object.
Property | Description | Read/Write |
---|---|---|
Returns a reference to the Application Object, that this object is associated with. | ||
Returns the number of the last page that is currently available. Once the printing is complete, this value is the number of the last page. You will receive an incorrect result if you try to obtain this value immediately after using a method such as ShowNextPage Method (View Object), that causes a change to the preview window. Call the Visual Basic function, DoEvents (see Visual Basic documentation for more information) before requesting the latest page number. | ||
Reference to the Parent object (Report Object). | ||
Returns CRPrintingProgress (see table below) indicating the status of printing report (that is, cancelled, in progress, not started, etc.). Corresponds to PEJobInfo and PEGetJobStatus. | ||
Constant | Value | |
Returns the number of records actually printed. You will receive an incorrect result if you try to obtain this value immediately after using a method such as ShowNextPage Method (View Object), that causes a change to the preview window. Call the Visual Basic function, DoEvents (see Visual Basic documentation for more information) before requesting the records printed. | ||
Returns the number of records selected for inclusion in the report out of the total number of records read. | ||
Reference to Report Object. | ||
Returns the number of the starting page of preview or printing. |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |